package com.example.chat.beans;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@TableName("tb_code")
public class Code {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String tel="";//邮箱
    private int type;//1注册
    private String code="";//验证码
    private long lastTime;//过期时间
}
